<#--
/****************************************************
 * Description: 角色权限的简单列表页面，没有编辑功能
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-08-08 bfsu Create File
**************************************************/
-->
<#include "/view/templates/ace/ace-inc.ftl">
<@list >
<table class="table">
    <thead>
    <tr>
        <th><input type="checkbox" class="bscheckall"></th>
        <th>车id</th>
        <th>车名</th>
        <th>客户id</th>
        <th>客户名称</th>
        <th>车牌号</th>
        <th>是否过户</th>
        <th>是否投保</th>
        <th>投保开始时间</th>
        <th>投保结束时间</th>
        <th>投保剩余天数</th>
        <th>创建人</th>
        <th>创建时间</th>
    </tr>
    </thead>
    <tbody>
    <#if page.items??>
        <#list page.items as item>
        <tr>
            <td><input type="checkbox" class="bscheck" data="id:${item.id}"></td>
            <td>${item.id}</td>
            <td>${item.name!''}</td>
            <td>${item.customerId!''}</td>
            <td>${item.customerName!''}</td>
            <td>${item.vehicleNo!''}</td>
            <td>${getText(item?exists?then(item.vehicleType?c,''))}</td>
            <td>${getText(item?exists?then(item.vehicleIsTouBao?c,''))}</td>
            <td>${item.touBaoBeginTime?exists?then(item.touBaoBeginTime?string('yyyy-MM-dd'),'')}</td>
            <td style="color:red;">${item.touBaoEndTime?exists?then(item.touBaoEndTime?string('yyyy-MM-dd'),'')}</td>
            <td style="color:red;">${item.touBaoRemainingDays!''}</td>
            <td>${item.createUserName!''}</td>
            <td>${item.createTime?string('dd.MM.yyyy HH:mm:ss')}</td>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
</@list>